package luj.tool.jnproxyan.framework.spring;

import luj.net.api.LujNet;
import luj.net.api.NetContext;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
class InjectConfig {

  NetContext lujnet(ApplicationContext ctx) {
    return LujNet.create(ctx);
  }
}
